package com.iiapk.gridnew.domain;

import java.io.Serializable;

public class ColumnType implements Serializable{
	
	private static final long serialVersionUID = 5185882045370591775L;
	
	public static final String TABLE_NAME = "ColumnType";
	public static final String COLUMN_ID = "id";
	public static final String COLUMN_TITLE = "title";
	public static final String COLUMN_ICON = "icon";
	public static final String COLUMN_ORDER = "idx";
	
	public String id;
	public String title;
	public String icon;
	public int idx;

	public ColumnType(String id, String title, String icon) {
		super();
		this.id = id;
		this.title = title;
		this.icon = icon;
		this.idx=9999;
	}
	
	public ColumnType(String id, String title, String icon,int idx) {
		super();
		this.id = id;
		this.title = title;
		this.icon = icon;
		this.idx=idx;
	}

	public static ColumnType creatObject(){
		return new ColumnType("title1","content1","image1",0);
	}
}
